package com.jd.tank.abstractfactory;

import com.jd.tank.Direction;
import com.jd.tank.Group;
import com.jd.tank.TankFrame;

/**
 * @program: MyTank
 * @description:
 * @author: 王术平
 * @create: 2021-01-13 18:02
 **/
public abstract class BaseGameFactory {
    /**
     * 创建坦克
     */
    public abstract BaseTank createTank(int x, int y, Direction dir, Group group, TankFrame tf, boolean moving);

    /**
     * 创建子弹
     */
    public abstract BaseBullet createBullet(int x, int y, Direction dir, Group group, TankFrame tf);

    /**
     * 创建爆炸特效
     */
    public abstract BaseExplode createExplode(int x, int y);
}
